package ynu.edu.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class Cart {
	@TableId
	@Schema(description = "购物车编号")
	private Integer cartId;

	@Schema(description = "食品编号")
	private Integer foodId;

	@Schema(description = "所属商家编号")
	private Integer businessId;

	@Schema(description = "所属用户编号")
	private String userId;

	@Schema(description = "同一类型食品的购买数量")
	private Integer quantity;
}
